/*
 * 本脚本负责统一管理各脚本加载使用
 */

function loadFiles(Path, sysLanguage){
	if(typeof Path == "undefined" || Path == null){Path = "";}
	if(typeof sysLanguage == "undefined" || sysLanguage == null){
		sysLanguage = navigator.systemLanguage?navigator.systemLanguage:navigator.language;
	}
	//alert(sysLanguage.toLowerCase());
	document.write("<script language='javascript' src='" +Path+ "js/Properties.js'></script>");
		
	document.write("<script language='javascript' src='" +Path+ "js/util/utilScript.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/util/utilScript.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/util/massageManager.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/util/prototype.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/util/msg_"+sysLanguage.toLowerCase()+".js'></script>");

	document.write("<script language='javascript' src='" +Path+ "js/event/eventListener.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/event/eventRoute.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/event/clickProcessor.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/event/blurProcessor.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/event/doubleclickProcessor.js'></script>");

	document.write("<script language='javascript' src='" +Path+ "js/view/jieElement.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/view/gProperty.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/view/jieGrid.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/view/jieFrame.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/view/jieCell.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/view/jieDataCell.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/view/jieListCell.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/view/jieHeadCell.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/view/jieColumn.js'></script>");
	document.write("<script language='javascript' src='" +Path+ "js/view/jieRow.js'></script>");

	document.write("<script language='javascript' src='" +Path+ "js/gridFace.js'></script>");
	
}
